package com.aspose.cells;

class zbhz extends zck {
   zbhz(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   void b() {
      com.aspose.cells.b.a.b.a.zf var1 = this.a.e();
      this.a.a(4);
      float var2 = 0.0F;
      float var3 = 0.0F;
      float var4 = 0.0F;
      float var5 = 1.0F;
      if (this.e.m != null) {
         if (this.e.m.a.size() > 0) {
            var2 = Math.min(this.e.q(), this.e.r()) * com.aspose.cells.b.a.ze.a(this.e.m.a.get(0)) / 100000.0F;
            var3 = Math.min(this.e.q(), this.e.r()) * com.aspose.cells.b.a.ze.a(this.e.m.a.get(1)) / 100000.0F * var5;
            var4 = Math.min(this.e.q(), this.e.r()) * com.aspose.cells.b.a.ze.a(this.e.m.a.get(2)) / 100000.0F;
         } else {
            var2 = Math.min(this.e.q(), this.e.r()) * 23520.0F / 100000.0F;
            var3 = Math.min(this.e.q(), this.e.r()) * 2930.0F / 100000.0F;
            var4 = Math.min(this.e.q(), this.e.r()) * 11760.0F / 100000.0F;
         }
      } else {
         var2 = Math.min(this.e.q(), this.e.r()) * 23520.0F / 100000.0F;
         var3 = Math.min(this.e.q(), this.e.r()) * 2930.0F / 100000.0F;
         var4 = Math.min(this.e.q(), this.e.r()) * 11760.0F / 100000.0F;
      }

      float var6 = 2.0F * var4;
      com.aspose.cells.b.a.b.zq var10 = new com.aspose.cells.b.a.b.zq(this.g + 0.135F * this.e.v().h(), this.h + (this.e.v().i() - var2) / 2.0F, 0.73F * this.e.v().h(), var2);
      com.aspose.cells.b.a.b.a.ze var11 = new com.aspose.cells.b.a.b.a.ze();
      var11.b(var10);
      com.aspose.cells.b.a.b.zc var12 = zbum.a(this.e.w(), var11);
      com.aspose.cells.b.a.b.zm var13 = zbum.a(this.e.x());
      this.a.b(var12, var10);
      this.a.c(var13, this.g + 0.135F * this.e.v().h(), this.h + (this.e.v().i() - var2) / 2.0F, 0.73F * this.e.v().h(), var2);
      this.a.a(var12, this.g + this.e.v().h() / 2.0F - var4, this.h + (this.e.v().i() - (var2 + var6 * 2.0F + var3 * 2.0F)) / 2.0F, var6, var6);
      this.a.a(var13, this.g + this.e.v().h() / 2.0F - var4, this.h + (this.e.v().i() - (var2 + var6 * 2.0F + var3 * 2.0F)) / 2.0F, var6, var6);
      this.a.a(var12, this.g + this.e.v().h() / 2.0F - var4, this.h + this.e.v().i() - var6 - (this.e.v().i() - (var2 + var6 * 2.0F + var3 * 2.0F)) / 2.0F, var6, var6);
      this.a.a(var13, this.g + this.e.v().h() / 2.0F - var4, this.h + this.e.v().i() - var6 - (this.e.v().i() - (var2 + var6 * 2.0F + var3 * 2.0F)) / 2.0F, var6, var6);
      super.a();
      this.a.a(var1);
   }
}
